#!/bin/bash

scriptR=$1
scenario=1

for file in `ls -d exp_*`
do
	Rscript $scriptR $file/result.txt $scenario $file
	scenario=`expr $scenario + 1`
done
